package com.controller;

import com.service.Process_reviewService;
import com.util.Process_review;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class Process_reviewController {
    @Resource
    private Process_reviewService process_reviewService;

    @GetMapping("/see_process")
    @ResponseBody
    public List<Process_review> See_process(@RequestParam String pAccount){
        return process_reviewService.see_process(pAccount);
    }
}
